Laravel / Advanced / Mail testing using mailhog
Mail testing using mailhog
-
STEPS
Steps for configuring mailhog : https://blog.manvia.in/t/416/Mailhog%20setting
1. .env
update MAIL_HOST & MAIL_PORT in .env file
MAIL_MAILER=smtp MAIL_HOST=localhost MAIL_PORT=1025 MAIL_USERNAME=null MAIL_PASSWORD=null MAIL_ENCRYPTION=null MAIL_FROM_ADDRESS="testmail@gmail.com" MAIL_FROM_NAME="${APP_NAME}"